package com.jintian.smart.kernel.message.mapper;

import com.jintian.smart.base.api.message.entity.MessageEntity;
import com.jintian.smart.base.api.message.form.MessageQueryForm;
import com.jintian.smart.base.api.message.vo.MessageVO;
import com.jintian.smart.kernel.orm.mapper.IBaseExtMapper;
import org.beetl.sql.core.page.PageResult;
import org.beetl.sql.mapper.annotation.Mapper;
import org.beetl.sql.mapper.annotation.Param;
import org.beetl.sql.mapper.annotation.SqlResource;

/**
 * 消息 接受者类型枚举
 */
@Mapper
@SqlResource("msg.Message")
public interface MessageMapper extends IBaseExtMapper<MessageEntity> {
    /**
     * 分页查询消息
     */
    PageResult<MessageVO> query(@Param("query") MessageQueryForm queryForm);
}
